"use strict";

/**
 * @ngdoc function
 * @name jgappApp.controller:ProjectCostlistCtrl
 * @description
 * # ProjectCostlistCtrl
 * Controller of the jgappApp
 */
angular
  .module("jgappApp")
  .controller("ProjectCostlistCtrl", function(
    $scope,
    $routeParams,
    openApi,
    PagingService
  ) {
    $scope.search = function() {
      var param = {};
      param.projectId = $routeParams.id;
      param.pkId = $routeParams.pkId;
      $scope.taskList = new PagingService(openApi.costList, param);
    };
    $scope.search();
  });
